import {
  getRequest,
  postRequest,
  putRequest,
  deleteRequest,
  postRequestWithNoForm,
} from "@/libs/axios";

// 获取推广列表
export const GetCommissionDistributionSale = (params) => {
  return getRequest("/members/wallet/GetCommissionDistribution", params);
};
// 获取推广列表总数
export const GetCommissionDistributionSaleAll = (params) => {
  return getRequest("/members/wallet/GetCommissionDistributionAll", params);
};
// 充值记录
export const PlantRechargeList = (params) => {
  return getRequest(`/recharge`, params)
}
//充值总金额
export const PlantRechargeAll = (params) => {
  return getRequest(`/recharge/rechargeMoney`, params)
}
// 转账记录
export const PlantTransferList = (params) => {
  return getRequest(`/transfer`, params)
}
// 提现记录
export const PlantWithdrawalSale = (params) => {
  return getRequest(`/withdraw-apply/getSaleList`, params)
}
export const PlantWithdrawalPromote = (params) => {
  return getRequest(`/withdraw-apply/getPromoteList`, params)
}
// 销售记录

export const PlantWalletSale = (params) => {
  return getRequest(`/members/wallet/getSaleMoney`, params)
}
export const PlantWalletSaleALL = (params) => {
  return getRequest(`/members/wallet/getSaleMoneyAll`, params)
}

